//
//  oneOptionViewController.swift
//  ua_run
//
//  Created by jason on 11/12/2017.
//  Copyright © 2017 jason. All rights reserved.
//

import UIKit

class OneOptionViewController: UIViewController {

    override func viewDidLoad() {
        super.viewDidLoad()

        // Do any additional setup after loading the view.
    }

    override func didReceiveMemoryWarning() {
        super.didReceiveMemoryWarning()
        // Dispose of any resources that can be recreated.
    }
    
    @IBAction func buttonClick(_ sender: Any) {
        let alertViewController = UIAlertController(title: "选项1", message: "👌", preferredStyle: .alert)
        let okAlertView = UIAlertAction(title: "ok", style: .default, handler: nil)
        alertViewController.addAction(okAlertView)
        present(alertViewController, animated: true, completion: nil)
        
    }
    
    /*
    // MARK: - Navigation

    // In a storyboard-based application, you will often want to do a little preparation before navigation
    override func prepare(for segue: UIStoryboardSegue, sender: Any?) {
        // Get the new view controller using segue.destinationViewController.
        // Pass the selected object to the new view controller.
    }
    */

}
